#tests for conway-utilities
import unittest
import conway_utilities

class testconway_utilities(unittest.TestCase):
    def setUp(self):
        self.Utilities = conway_utilities.Utilities()
        self.isBoolean = self.Utilities.isBoolean
        
    def testTrue(self):
        self.assertTrue(self.Utilities.isBoolean(True))
    
    def testTrue_false(self):
        self.assertTrue(self.Utilities.isBoolean(False))
    
    def testFalse_int(self):
        self.assertFalse(self.Utilities.isBoolean(1))
        
if __name__ == "__main__":
    unittest.main()    
    